#ifndef _CStochasticConsequent_H_
#define _CStochasticConsequent_H_

#include <string>
#include <vector>
#include <utility>

#include "CConsequent.h"

class CLSystem;

class CStochasticConsequent: public CConsequent
{
public:
    CStochasticConsequent(CLSystem const* ptr_ls);
    void Get(std::string& str_conseq) const;
    void GetFormatted(std::string& str_conseq) const;
    void Set(std::string const& str_conseq);
    void Check(void) const;
private:
    typedef std::pair<double,std::string> stoch_consequent_branch_type;
    typedef std::vector<stoch_consequent_branch_type> stoch_consequent_type;
  
    stoch_consequent_type consequent;
    CLSystem const* ptr_lsystem;
};

#endif
